package com.xinqi.modules.course.clazz.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.BaseEntity;
import com.xinqi.modules.course.course.enums.clazz.ClassAuditStatusEnum;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 学生加入班级审核实体层
 *
 * @author: system
 * @date: 2023/01/17
 */
@Setter
@Getter
@TableName("cl_class_join_audit")
public class ClassJoinAuditEntity extends BaseEntity {
    /**
     * 班级ID
     */
    @TableField(value = "class_id")
    private Long classId;
    /**
     * 学生id
     */
    @TableField(value = "student_id")
    private Long studentId;
    /**
     * 0待审核，1-通过；2-拒绝
     */
    @TableField(value = "status")
    private ClassAuditStatusEnum status;
    /**
     * 审核人
     */
    @TableField(value = "audit_user_id")
    private Long auditUserId;
    /**
     * 审核时间
     */
    @TableField(value = "audit_time")
    private LocalDateTime auditTime;
    /**
     * 审核内容
     */
    @TableField(value = "audit_content")
    private String auditContent;
    /**
     * 审核意见
     */
    @TableField(value = "audit_result")
    private String auditResult;
}
